.TeacherTestList {

    grid-column: 1;
    grid-row: 2;
    padding: 0 15%;
    // background-color: aquamarine;
    display: flex;
    flex-direction: column;

    nav {
        height: 0px;
        display: flex;
        align-items: center;
        border-bottom: solid .5px #bbb;
        overflow: hidden;
        transition: all .5s;
        position: relative;
        z-index: 0;

        .divide-line {
            height: 18px;
            width: 1px;
            background-color: #bbb;
            margin: 0 10px;
        }

        .all-check {
            margin: 0 20px;
            display: flex;
            font-size: 15px;
            align-items: center;

            input {
                width: 15px;
                height: 15px;
                margin-right: 5px;
                cursor: pointer;
            }

            label {
                cursor: pointer;
                transition: all .3s;
            }

            label:hover {
                color: #5cb3cc;
            }
        }

        .delet-test {
            display: flex;
            align-items: center;

            button {
                font-size: 15px;
                cursor: pointer;
                transition: all .3s;
            }

            button:nth-child(1):hover {
                color: #f03752;
            }


            button:nth-child(3):hover {
                color: #5cb3cc;
            }
        }
    }


    main {
        padding: 20px 0;
        display: grid;
        grid-auto-rows: 140px;
        gap: 20px;
        position: relative;
    }

    .add-test {
        width: 48px;
        height: 48px;
        position: fixed;
        border-radius: 50%;
        bottom: 80px;
        right: 60px;
        font-size: 24px;


        &::before {
            display: block;
            width: 100px;
            height: 36px;
            font-size: 12px;
            text-align: center;
            line-height: 36px;
            color: #000;
            content: '点击添加章节测试';
            background-color: #fff;
            position: absolute;
            top: -46px;
            left: -40px;
            box-shadow: 0 0 8px 4px #bbb;
            border-radius: 8px;
            opacity: 0;
            transition: all .3s;
        }


        &::after {
            display: block;
            content: '';
            width: 0;
            height: 0;
            border: solid 6px transparent;
            border-top-color: #fff;
            position: absolute;
            top: -10px;
            left: 16px;
            opacity: 0;
            transition: all .3s;
        }


        &:hover::after,
        &:hover::before {
            opacity: 1;
        }
    }
}